-
Notifications
You must be signed in to change notification settings - Fork 109
Add support for Ubuntu24 #2880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Ubuntu24 #2880
Conversation
7fae24b to
e25a9f3
Compare
| action_class do | ||
| def armpl_platform | ||
| "Ubuntu-#{node['platform_version']}" | ||
| "Ubuntu-22.04" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpicks:
Rename the file to *22+.rband add a comment that armpl_plaform is hardcoded toUbuntu-22.04` as that the folder in s3 which we look for the tar file
| # frozen_string_literal: true | ||
|
|
||
| # | ||
| # Copyright:: 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix copyright year
| # http://aws.amazon.com/apache2.0/ | ||
| # | ||
| # or in the "LICENSE.txt" file accompanying this file. | ||
| # This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick on renaming the file to ubuntu22+
|
|
||
| provides :nvidia_driver, platform: 'ubuntu' do |node| | ||
| node['platform_version'].to_i == 22 | ||
| node['platform_version'].to_i >= 22 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
kitchen.ec2.yml
Outdated
| driver: | ||
| <% if ENV['KITCHEN_UBUNTU2404_AMI'] %> | ||
| # Use the Ubuntu 22 AMI most similar to the base AMI used to build the ParallelCluster image | ||
| image_id: <%= ENV['KITCHEN_UBUNTU2204_AMI'] %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be KITCHEN_UBUNTU2404_AMI
e25a9f3 to
d69c82d
Compare
Description of changes
Tests
Please review the guidelines for contributing and Pull Request Instructions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.